libelf: Remove unneeded extra elf_set_verbose() invocation.
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Thu, 2 Aug 2007 08:53:13 +0000 (09:53 +0100)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Thu, 2 Aug 2007 08:53:13 +0000 (09:53 +0100)
Signed-off-by: Keir Fraser <keir@xensource.com>
xen/common/libelf/libelf-loader.c

index bfb3cab57b3c18e570082ca28f52d4c789d4cdfe..21e44be8485f00b1671832d061e8a20cb1f20841 100644 (file)
@@ -26,10 +26,6 @@ int elf_init(struct elf_binary *elf, const char *image, size_t size)
     elf->class = elf->ehdr->e32.e_ident[EI_CLASS];
     elf->data = elf->ehdr->e32.e_ident[EI_DATA];
 
-#ifdef VERBOSE
-    elf_set_verbose(elf);
-#endif
-
     /* Sanity check phdr. */
     offset = elf_uval(elf, elf->ehdr, e_phoff) +
         elf_uval(elf, elf->ehdr, e_phentsize) * elf_phdr_count(elf);